package cn.iocoder.yudao.framework.business.audit.pojo.form;

import cn.iocoder.yudao.framework.business.audit.enums.AuditStatusEnum;
import cn.iocoder.yudao.framework.business.basic.pojo.dto.SaveDTO;
import cn.iocoder.yudao.framework.validation.InEnumValue;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Tag(name = "审核 Request VO")
@Data
public class AuditSaveDTO extends SaveDTO {

    @Schema(description = "审核状态：0-待审核、1-已通过、2-被驳回", requiredMode = Schema.RequiredMode.REQUIRED, example = "1", implementation = AuditStatusEnum.class)
    @NotNull(message = "审核状态不能为空")
    @InEnumValue(AuditStatusEnum.class)
    private Integer auditStatus;

    @Schema(description = "审核说明", example = "就是不给通过")
    private String auditNote;

}
